import service from '@/utils/request'

const ResidentCardApi = {
  listResidentCard:function(data){
    return service.get('personInfo/page', {params:data})
  },
  addResidentCard:function(data){
      return service.post('personInfo', data)
  },
  editResidentCard:function(data){
      return service.put('personInfo', data)
  },
  deleteResidentCard:function(data){
      return service.put('personInfo/delete', data)
  },
  getResidentCardInfo(data){
      return service.get('personInfo/getUserInfo', {params:data})
  },
}

export default ResidentCardApi